<div class="bodytabdiv">
<table class="bodytab colortab" cellspacing="1">
	<tr>
		<th class="th" width="34">ID</th>
		<th class="th" >栏目</th>

		<th class="th" width="60" align="center">优先级</th>
		<th class="th" width="120" align="center">操作</th>
	</tr>
	{-foreach from=$xL item=a key=id-}
	<tr>
		<td align="center">{-$a.id-}</td>
		<td> 
			<a {-if $xL[$id].isParent-}href="?mod={-$_GET.mod-}&fun={-$_GET.fun-}&act=list&pid={-$id-}"{-/if-}>
				{-$a.paramName-}
			</a>  
		</td>


		<td align="center">{-$a.orderId-}</td>

		<td align="center">

			<a href="{-$body.url-}act=edit&id={-$id-}">修改</a>


			<a href="?mod={-$_GET.mod-}&fun=area&act=list&pid={-$id-}">区域管理</a>

			<a href="{-$body.url-}act=del&id={-$id-}" onclick="return delcol('{-$a.paramName-}');">删除</a>		
		</td>
	</tr>
	{-/foreach-}
</table>
</div>




<div class='bodyfooter'>
	&nbsp;{-$_ENV.page.html-}
</div>

<script type='text/javascript'>
function delcol(col){
	if( confirm('删除栏目是一项非常危险的操作， 您确认要删除栏目《' + col + '》吗?') ){
		if( confirm('为慎重起见，请您再次确认要删除栏目《' + col + '》吗?') ){
			return true;
		}
	}
	return false;
}
</script>